import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/login',
    component: () => import('@/views/login/index.vue')
  },
  {
    path: '/',
    component: () => import('@/layout/index.vue')
  },
  {
    path: '*',
    component: () => import('@/views/404/index.vue')
  },
  // {
  //   path: '/zbcgjh',
  //   component: () => import('@/layout/zbcgjh.vue'),
  //   children: [
  //     {
  //       path: '/wzbzdtj',
  //       component: () => import('@/components/wzbzdtj.vue')
  //     }
  //   ]
  // },

]

const router = new VueRouter({
  routes,
  base: '/jl/'
})

export default router
